<template>
  <div>
    <el-card class="m-t-15 box-card">

      <div slot="header" class="flex-cls-nowrap-spc-btw">
        <span>弹框表格+表格分页打印</span>
      </div>

      <!-- 查询条件 -->
      <div class="search-form">
        <m-form
          inline
          is-button
          form-type="search"
          :options="searchForm.options"
          :all-btn="searchForm.btnList"
          @search="(funtion)=> searchForm.refresh = funtion"
          @save="search"
        />
      </div>

      <!-- 全局按钮 -->
      <m-all-btn class="m-b-10" :button-list="overallBtn" />

      <!-- 表格 -->
      <m-table
        v-loading="dataGrid.loading"
        :height="'calc( 100vh - 360px )'"
        :list="dataGrid.data"
        :columns="dataGrid.columns"
        :pagination="dataGrid.pagination"
      >

        <!-- 表格中的按钮 -->
        <template #action="scope">
          <m-all-btn :button-list="dataGrid.btnList" :scope="scope" />
        </template>

      </m-table>
    </el-card>

    <!-- 弹框表单 -->
    <m-modal-form
      width="680px"
      :close-on-click-modal="false"
      :title="formProperty.formType !== 'add' ? formProperty.title[0] :formProperty.title[1]"
      :visible.sync="formProperty.visible"
      :form-type="formProperty.formType"
      :form-attrs="formProperty.formAttrs"
      :options="formProperty.options"
      @get-model="(model)=>formProperty.model = model"
      @save="saveForm"
    />

    <el-dialog
      title="自动分页打印打印"
      :visible.sync="testModalFormData.visible"
      width="950px"
    >

      <print-comp
        :headers="headers"
        :data="list"
        :head-slot-height="80"
      >
        <template #head>
          <div style="height:80px;">
            我是头部信息
          </div>
        </template>
      </print-comp>
    </el-dialog>
  </div>
</template>

<script>

// 混入 minxin 文件夹下面所有的js文件
const files = require.context("./mixins", false, /\.js$/);
const minxins = [];
files.keys().forEach(key => {
  minxins.push(files(key).default || files(key));
});

import PrintComp from "@/components/Print/index.vue";

import print from "vue-print-nb";

export default {
  name: "UseDataGrid",
  directives: {
    print
  },
  components: { PrintComp },
  mixins: [...minxins],
  data() {
    return {
      headers: [
        {
          label: "姓名",
          width: "100px",
          prop: "name",
          align: "center"
        },
        {
          label: "年龄",
          width: "",
          prop: "age",
          align: "center"
        },
        {
          label: "性别",
          width: "",
          prop: "sex",
          align: "center"
        },
        {
          label: "手机",
          width: "",
          prop: "phone",
          align: "center"
        }
      ],
      list: [
        {
          name: "阿荣",
          age: 24,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 1,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿豪",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 5,
          jobs: "产品",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿晨",
          age: 29,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 9,
          jobs: "设计",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿锋",
          age: 21,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 0.1,
          jobs: "售后",
          salary: "1.8k"
        }, {
          name: "阿荣",
          age: 24,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 1,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿豪",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 5,
          jobs: "产品",
          salary: "1.8k"
        },
        {
          name: "阿晨",
          age: 29,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 9,
          jobs: "设计",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿锋",
          age: 21,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 0.1,
          jobs: "售后",
          salary: "1.8k"
        }, {
          name: "阿荣",
          age: 24,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 1,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿豪",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 5,
          jobs: "产品",
          salary: "1.8k"
        },
        {
          name: "阿晨",
          age: 29,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 9,
          jobs: "设计",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿锋",
          age: 21,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 0.1,
          jobs: "售后",
          salary: "1.8k"
        }, {
          name: "阿荣",
          age: 24,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 1,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿豪",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 5,
          jobs: "产品",
          salary: "1.8k"
        },
        {
          name: "阿晨",
          age: 29,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 9,
          jobs: "设计",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿锋",
          age: 21,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 0.1,
          jobs: "售后",
          salary: "1.8k"
        }, {
          name: "阿荣",
          age: 24,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 1,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿豪",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 5,
          jobs: "产品",
          salary: "1.8k"
        },
        {
          name: "阿晨",
          age: 29,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 9,
          jobs: "设计",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿锋",
          age: 21,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 0.1,
          jobs: "售后",
          salary: "1.8k"
        }, {
          name: "阿荣",
          age: 24,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 1,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿豪",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 5,
          jobs: "产品",
          salary: "1.8k"
        },
        {
          name: "阿晨",
          age: 29,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 9,
          jobs: "设计",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿锋",
          age: 21,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 0.1,
          jobs: "售后",
          salary: "1.8k"
        }, {
          name: "阿荣",
          age: 24,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 1,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿豪",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 5,
          jobs: "产品",
          salary: "1.8k"
        },
        {
          name: "阿晨",
          age: 29,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 9,
          jobs: "设计",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿锋",
          age: 21,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 0.1,
          jobs: "售后",
          salary: "1.8k"
        }, {
          name: "阿荣",
          age: 24,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 1,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿豪",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 5,
          jobs: "产品",
          salary: "1.8k"
        },
        {
          name: "阿晨",
          age: 29,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 9,
          jobs: "设计",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿锋",
          age: 21,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 0.1,
          jobs: "售后",
          salary: "1.8k"
        },

        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒阿哒",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 2,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿荣",
          age: 24,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 1,
          jobs: "研发",
          salary: "1.8k"
        },
        {
          name: "阿豪",
          age: 26,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 5,
          jobs: "产品",
          salary: "1.8k"
        },
        {
          name: "阿晨",
          age: 29,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 9,
          jobs: "设计",
          salary: "1.8k"
        },
        {
          name: "阿震",
          age: 30,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 7,
          jobs: "销售",
          salary: "1.8k"
        },
        {
          name: "阿锋",
          age: 21,
          sex: "男",
          phone: "12345678901",
          mail: "mmm@mmm.com",
          address: "蓝星星国马尔哈哈海岛",
          workAge: 0.1,
          jobs: "售后",
          salary: "1.8k"
        }
      ]
    };
  }
};
</script>
